package com.wealth.cart.repository;

import iaas.repository.BaseRepository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.cart.entity.Cart;

/**
 * 
 * @author zjw
 */

@Repository
public interface CartDao extends BaseRepository<Cart, Long>, JpaSpecificationExecutor<Cart> {
	
	public Cart findCartByMemberId(long id);
	
	//会员+市场
	public Cart findCartByMemberIdAndMarketId(Long memberId,Long marketId);
	
	
	
}


